package com.yanqu.road.entity.servercenter;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_s_data_analytics_server_info")
public class DAServerInfo {

    @FieldTypeAnnotation(select = true, update = true, desc = "渠道ID")
    private int channelId;

    @FieldTypeAnnotation(update = true, desc = "区服ID", orderASC = true)
    private long serverId;

    @FieldTypeAnnotation(update = true, desc = "区服列表", orderASC = true)
    private List<Long> serverList = new ArrayList<>();

    @FieldTypeAnnotation(update = true, desc = "终止区服ID", orderASC = true)
    private long endServerId;

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public List<Long> getServerList() {
        return serverList;
    }

    public void setServerList(List<Long> serverList) {
        this.serverList = serverList;
    }

    public long getEndServerId() {
        return endServerId;
    }

    public void setEndServerId(long endServerId) {
        this.endServerId = endServerId;
    }
}
